package com.is.demo.generator.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.is.demo.generator.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author will
 * @since 2020-07-06
 */
public interface IUserService extends IService<User> {

    /**
     * 测试
     * @return
     */
    List<User> test();

    String getName(String id);

    List<User> queryByCondition(Map<String, Object> map);

    Page<User> queryPage(long current, long size);
}
